package com.bitmain.mmst.web.dao;

import java.util.List;
import java.util.Map;

import org.springframework.stereotype.Repository;

import com.bitmain.mmst.domain.MinerDetectBatch;
import com.bitmain.mmst.domain.MinerDetectDetail;
import com.bitmain.mmst.domain.MinerDetectFailure;
import com.bitmain.mmst.domain.MinerShelf;

/**
 * 
 *
 * @author Richard - rui.wu@bitmain.com
 * @since 2016年7月17日
 *
 */
@Repository("monitorDao")
public interface MonitorDao {
	public List<MinerShelf> selectAllShelfs();

	public void insertDetail(MinerDetectDetail detail);

	public int countDetailTable(Map<String, Object> params);

	public void createDetailTable(Map<String, Object> params);

	public void insertFailure(MinerDetectFailure failure);

	public void insertBatch(MinerDetectBatch batch);

	public MinerShelf selectShelf(Long shelfId);
}
